﻿using Module.Test.Application.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Module.Test.Application.IServices
{
    public interface ICustomAppService
    {
        Task<IList<CustomDto>> GetAll();

        Task<CustomDto> GetById(long id);

        Task<bool> Register(CustomDto customDto);

        Task<bool> Update(CustomDto customDto);

        Task<bool> Remove(long id);

    }
}
